container: Request layout again depending on layout mode
authorBenjamin Otte <otte@redhat.com>
Mon, 22 Feb 2016 20:38:03 +0000 (21:38 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 23 Feb 2016 03:22:19 +0000 (04:22 +0100)
commitc3dc0d80f1353ac66882ca3288ca7e9a13c47d6f
tree649a4a4bd4ec4f84114d07575a460e2c53f894e5
parent70b9ea2c4bbfc7858b42036fe4efbb52302ea2bd
container: Request layout again depending on layout mode

Containers with RESIZE_MODE_PARENT should never request layout and those
with RESIZE_MODE_IMMEDIATE should only request it for updating CSS.

Fixes clutter embeds (like the tray icon embed in gnome-shell)
continuously requesting relayout when all they want to do is relegate
relayout to Clutter.

https://bugzilla.gnome.org/show_bug.cgi?id=758893
gtk/gtkcontainer.c